<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title th:text="${book.name}">pdf书籍</title>
    <meta name="keywords" th:content="@{${book.name}+'免费在线阅读'}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" th:content="@{${book.name}+'在线阅读，把妹书籍在线阅读，恋爱书籍免费阅读'}" />
    <link href="https://tv.speechb.com/lib/imgs/logo.png" rel="shortcut icon"/>
</head>
<body style="width: 100%;height: 100%;padding: 0;margin: 0;overflow: hidden;background: #000000;">
<iframe style="width: 100%;" scrolling="no" allowfullscreen='true' allow="autoplay" id='iframe' th:src="@{'https://tv.speechb.com/pdfjs/web/viewer.html?file='+${book.download_url}}" ></iframe>
<script>
    document.getElementById("iframe").style.height=document.documentElement.clientHeight+"px";
    var timer = window.setInterval(function(){
        var iFrame = document.getElementById('iframe');
        if (iFrame.contentDocument) {
            currentPageNum= iFrame.contentDocument.getElementById('pageNumber').value;
        }
    },1000 * 3);

    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?72d905eff2da59e1cba579d1b5f5c9aa";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

</body>
</html>
